{include="head"}
{include="de/head"}
<div id="content">	
	{include="de/citychose"}	
	{include="de/topnavi"}	
	<div id="logo"></div>	
	<div id="related">
		<div class="left">
    		{include="de/setting/navi"}
		</div>
		<div class="center">
			{if="isset($action)"}
            	{$action}
            {/if}
			<h2>Freunde</h2>
    		<ul id="Relation">
        		{loop="Invitations"}
        			<li>
						<div class="photo"></div>
						<div class="info">
							<div class="name">{$value->user->username}</div>
						</div>
						<div class="aktion">
							<a href="{$baseurl}/freunde/Accept/{$value->user->id}" class="an">Annehmmen</a>
							<a href="{$baseurl}/freunde/canccel/{$value->user->id}" class="ab">Ablehnnen</a>
						</div>
						<br class="clear" />
					</li>
        		{/loop}
        		{loop="UserRelations"}
        			<li>
						<div class="photo"></div>
						<div class="info">
							<div class="name">{$value->username}</div>
						</div>
						<br class="clear" />
					</li>
        		{/loop}
    		</ul>
		</div>		
		<div class="right">
			{include="de/user/relation"}
		</div>
	</div>
</div>
{include="de/footer"}
